package com.shop.cereshop.app.page.recommend;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel(value = "互动消息VO")
public class InteractiveMsgVO {

    @ApiModelProperty(value = "消息类型：1-评论了你 2-回复了你")
    private Integer msgType;

    @ApiModelProperty(value = "消息类型描述：评论了你/回复了你")
    private String msgTypeDesc;

    @ApiModelProperty(value = "动态id")
    private Long trendId;

    @ApiModelProperty(value = "动态文案")
    private String trendContent;

    @ApiModelProperty(value = "动态封面")
    private String trendCover;

    @ApiModelProperty(value = "动态发布者id")
    private Long trendUserId;

    @ApiModelProperty(value = "动态发布者名称")
    private String trendUserName;

    // root comment (一级评论)
    @ApiModelProperty(value = "一级评论id")
    private Long rootCommentId;

    @ApiModelProperty(value = "一级评论内容")
    private String rootCommentContent;

    @ApiModelProperty(value = "一级评论发布者id")
    private Long rootCommentUserId;

    @ApiModelProperty(value = "一级评论发布者名称")
    private String rootCommentUserName;

    @ApiModelProperty(value = "一级评论发布者头像")
    private String rootCommentUserAvatar;

    // reply comment (追评)

    @ApiModelProperty(value = "追评id")
    private Long replyCommentId;

    @ApiModelProperty(value = "追评内容")
    private String replyCommentContent;

    @ApiModelProperty(value = "追评发布者id")
    private Long replyCommentUserId;

    @ApiModelProperty(value = "追评发布者名称")
    private String replyCommentUserName;

    @ApiModelProperty(value = "追评发布者头像")
    private String replyCommentUserAvatar;

    @ApiModelProperty(value = "是否已读：0-未读 1-已读")
    private Integer readStatus;

    @ApiModelProperty(value = "评论或回复的发布时间")
    private String publishTime;

}
